package com.ruoyi.applet.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 地址对象 address
 * 
 * @author ruoyi
 * @date 2024-12-04
 */
public class Address extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地址唯一标识 */
    private Long addressId;

    /** 用户外键id */
    @Excel(name = "用户外键id")
    private Long addressUsrId;

    /** 联系号码 */
    @Excel(name = "联系号码")
    private String addressPhone;

    /** 标签（家、公司） */
    @Excel(name = "标签", readConverterExp = "家=、公司")
    private String addressLabel;

    /** 收货人性别 */
    @Excel(name = "收货人性别")
    private String sex;

    /** 是否开启默认地址(1:开启 2：关闭) */
    @Excel(name = "是否开启默认地址(1:开启 2：关闭)")
    private Long addressStatus;

    /** 详细收货地址 */
    @Excel(name = "详细收货地址")
    private String addressDesc;

    /** 具体地址 */
    @Excel(name = "具体地址")
    private String addressText;

    public void setAddressId(Long addressId) 
    {
        this.addressId = addressId;
    }

    public Long getAddressId() 
    {
        return addressId;
    }
    public void setAddressUsrId(Long addressUsrId) 
    {
        this.addressUsrId = addressUsrId;
    }

    public Long getAddressUsrId() 
    {
        return addressUsrId;
    }
    public void setAddressPhone(String addressPhone) 
    {
        this.addressPhone = addressPhone;
    }

    public String getAddressPhone() 
    {
        return addressPhone;
    }
    public void setAddressLabel(String addressLabel) 
    {
        this.addressLabel = addressLabel;
    }

    public String getAddressLabel() 
    {
        return addressLabel;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setAddressStatus(Long addressStatus) 
    {
        this.addressStatus = addressStatus;
    }

    public Long getAddressStatus() 
    {
        return addressStatus;
    }
    public void setAddressDesc(String addressDesc) 
    {
        this.addressDesc = addressDesc;
    }

    public String getAddressDesc() 
    {
        return addressDesc;
    }
    public void setAddressText(String addressText) 
    {
        this.addressText = addressText;
    }

    public String getAddressText() 
    {
        return addressText;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addressId", getAddressId())
            .append("addressUsrId", getAddressUsrId())
            .append("addressPhone", getAddressPhone())
            .append("addressLabel", getAddressLabel())
            .append("sex", getSex())
            .append("addressStatus", getAddressStatus())
            .append("addressDesc", getAddressDesc())
            .append("addressText", getAddressText())
            .toString();
    }
}
